home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Technotools
/
Technotools (Chestnut CD-ROM)(1993).ISO
/
lang_c
/
bmg
/
bmg.h
< prev
next >
Wrap
Text File
|
1986-08-29
|
465b
|
23 lines
/*
* bmg.h -> Boyer-Moore-Gosper search definitions
*
* see bmg.c for documentation
*/
#define bmgMAXPAT 64 /* max pattern length */
typedef struct
{
unsigned char delta[256]; /* ASCII only deltas */
unsigned char pat[bmgMAXPAT + 1]; /* the pattern */
unsigned char ignore; /* ignore case flag */
}
bmgARG;
void bmgCompile(char *, bmgARG *, int);
int bmgSearch(char *, int, bmgARG *, int (*)());
/*
* END of bmg.h
*/